package com.demo.service.impl;

import com.demo.dao.Filing;
import com.demo.mapper.FilingMapper;
import com.demo.service.FilingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FilingServiceImpl implements FilingService {


    @Autowired
    FilingMapper filingMapper;

    @Override
    public List<Filing> findAllFiling() {
        return filingMapper.findAllFiling();
    }

    @Override
    public boolean isInstructorById(int fid) {
        return filingMapper.isInstructorById(fid);
    }

    @Override
    public Filing findFilingById(int fid) {
        return filingMapper.findFilingById(fid);
    }
}
